<?php
echo "<span style='font-family:Arial, Helvetica, sans-serif'>";
if($getuser3[status] >= 3)
{
	echo "| <strong><A href='admin/index.php'>Admin Panel </a></strong>";
}
?>
| <a href="usercp.php"><strong>Control Panel</strong></a> | <a href="logout.php"><strong>Logout</strong></a></span>
<?php
$getnewpms = "SELECT * from b_pms where receiver='$getuser3[userID]'";
$getnewpms2 = mysql_query($getnewpms, $forum) or die("Could not get new PMs"); 
$allpms = 0; 
$newpms = 0;  
while($getnewpms3 = mysql_fetch_array($getnewpms2))
{
	$allpms++;
	if($getnewpms3[hasread] == 0)
	{
		$newpms++;
	}
}         
echo " | <a href='pm/pm.php'>$newpms new messages [Inbox: $allpms/$maxpms]</a>";
if ($getuser3['friend'] <> "0") {
	echo" | <span style='font-family:Arial, Helvetica, sans-serif'><a href='../friend.php'><strong>Invite a Friend</strong></a></span>";
}
?>